Small typo in sgetmask01.c
Hi,
Here follow a small patch that fix a typo in sgetmask01.c testcase, where __NR_ssetmask is badly used instead of __NR_sgetmask.
Regards.
Signature · 4 lines
Nicolas Joly Biological Software and Databanks. Institut Pasteur, Paris.
Index: testcases/kernel/syscalls/sgetmask/sgetmask01.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/sgetmask/sgetmask01.c,v retrieving revision 1.1
kernel/syscalls/sgetmask/sgetmask01.c +1 -1
@@ -141,7 +141,7 @@ int main(int ac, char **av) {for (sig =-3 ; sig <=SIGRTMAX +1 ; sig++){TEST (syscall (__NR_ssetmask,sig));tst_resm (TINFO ,"Setting signal : %d -- return of setmask : %d" ,sig,TEST_RETURN );//call sgetmask() -TEST (syscall (__NR_ssetmask));//call sgetmask() +TEST (syscall (__NR_sgetmask));//call sgetmask() if (TEST_RETURN != sig) {tst_resm (TINFO ,"Oops,setting sig %d, got %d" ,sig,TEST_RETURN ); }else
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi,
I have applied above patch and tested. In my testing i got below error statements.
I have tested on suse linux and kernel version is 2.6.16.21
cc -I../../../../include -Wall sgetmask01.c -L../../../../lib -lltp -o
sgetmask01
In file included from sgetmask01.c:60:../../../../include/linux_syscall_numbers.h:184:1: error: unterminated #ifdef../../../../include/linux_syscall_numbers.h:13:1: error: unterminated #ifndef
Thanks & Regards,
-NVN
Quoted 15 lines · Nicolas Joly
Hi,
Here follow a small patch that fix a typo in
sgetmask01.ctestcase, where__NR_ssetmaskis badly used instead of__NR_sgetmask.Regards.
--
Nicolas JolyBiological Software and Databanks.
Institut Pasteur, Paris.
Quoted 12 lines
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 5 lines · naveen penumala
Hi,
I have applied above patch and tested. In my testing i got below error statements.
I have tested on suse linux and kernel version is 2.6.16.21
Quoted 9 lines
cc -I../../../../include -Wall
sgetmask01.c-L../../../../lib
-lltp -o sgetmask01
In file included from sgetmask01.c:60:../../../../include/linux_syscall_numbers.h:184:1: error: unterminated #ifdef../../../../include/linux_syscall_numbers.h:13:1: error: unterminated #ifndef
Well, that is not introduced by this patch. The only issue is it not having a Signed-off-by: Nicolas Joly <[email protected]>, which i have now added in the Log message. Please do so in future.
Regards--
Subrata
Quoted 33 lines
Thanks & Regards,
-NVN
On Tue, Jun 16, 2009 at 3:22 PM, Nicolas Joly <[email protected]> wrote:Hi,
Here follow a small patch that fix a typo in
sgetmask01.ctestcase,
where__NR_ssetmaskis badly used instead of__NR_sgetmask.Regards.
--
Nicolas JolyBiological Software and Databanks.
Institut Pasteur, Paris.------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 7 lines
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list